﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decoration.Models.DTO
{
    public class WF_NodeDto
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 流程类型编号
        /// </summary>
        public int TypeCode { get; set; }
        /// <summary>
        /// 流程类型名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 节点类型
        /// </summary>
        public int NodeCode { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        public string NodeName { get; set; }
        /// <summary>
        /// 对应能操作的角色
        /// </summary>
        public int RoleId { get; set; }
        public string RoleName { get; set; }
        /// <summary>
        /// 是否使用部门
        /// </summary>
        public int IsUseDept { get; set; }
        /// <summary>
        /// 上一个节点
        /// </summary>
        public int PrevNodeCode { get; set; }
        /// <summary>
        /// 下一个节点
        /// </summary>
        public int NextNodeCode { get; set; }
        /// <summary>
        /// 节点状态s
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 流程实体编号
        /// </summary>
        public int WFId { get; set; }
        /// <summary>
        /// 业务申请编号
        /// </summary>
        public Int64 ApplicationId { get; set; }
        /// <summary>
        /// 操作者编号
        /// </summary>
        public int OperatorId { get; set; }
        /// <summary>
        /// 操作者
        /// </summary>
        public string Operator { get; set; }
        /// <summary>
        /// 审批意见
        /// </summary>
        public string ApprovalOpinions { get; set; }
        /// <summary>
        /// 审批状态1，通过，0不通过
        /// </summary>
        public int ApprovalStatus { get; set; }
    }
}
